.header {
    border-bottom: 2px solid #ff6700;
    background-color: white;

    .container {
        display: block;

        .header_main {
            display: flex;
            justify-content: space-between;

            .header_left {
                width: 600px;
                display: flex;
                justify-content: space-between;

                img {
                    width: 50px;
                    height: 50px;
                }

                h1 {
                    font-size: 28px;
                    line-height: 50px;
                    color: #424242;
                    font-weight: 400;
                }

                div {
                    font-size: 12px;
                    line-height: 50px;
                    color: #999;
                }
            }

            .header_right {
                line-height: 50px;
                width: 150px;
                justify-content: space-between;
                align-items: center;

                div {

                    text-align: center;
                    display: inline-block;
                    font-size: 12px;
                    color: #999;

                    a {
                        text-decoration: none;
                        font-size: 12px;
                        color: #999;
                    }

                    &:nth-of-type(2) {
                        width: 2px;
                        background-color: #424242;
                        height: 15px;
                    }
                }
            }
        }

    }

}

body>.main {
    background-color: #f5f5f5;
    padding: 40px 0;

    .container {
        .prodduct_list {
            .list_header {
                background-color: white;
                text-align: center;
                border-bottom: #e0e0e0 1px solid;

                div {
                    line-height: 70px;
                    float: left;
                }

                .product_check {
                    width: 110px;
                    position: relative;

                    input {
                        float: left;
                        top: 40%;
                        width: 18px;
                        margin: 25px 0px 0 20px;
                        height: 18px;
                    }
                }

                .product_img {
                    width: 120px;
                    height: 70px;

                    img {
                        width: 80px;
                        height: 80px;
                    }
                }

                .product_name {
                    width: 380px;
                }

                .product_price {
                    width: 140px;
                    padding-right: 18px;
                }

                .product_num {
                    width: 150px;
                }

                .product_nums {
                    width: 120px;
                    padding-right: 60px;
                }

                .product_delect {
                    width: 80px;
                    padding-right: 20px;
                }
            }

            .list_main {
                background-color: white;
                text-align: center;
                >div {
                    &:not(:last-child) {
                        border-bottom: #e0e0e0 1px solid;
                    }
                }
                .product_item {
                    @extend .list_header;
                    border: 0;
                    padding: 15px 0;

                    div {
                        line-height: 86px;
                    }

                    .product_check {
                        input {
                            float: left;
                            top: 40%;
                            width: 18px;
                            margin: 30px 0px 0 20px;
                            height: 18px;
                        }
                    }

                    .product_name {
                        p {
                            font-size: 16px;
                            line-height: 26px;
                        }
                    }

                    .product_img {
                        img {
                            width: 80px;
                            height: 80px;
                        }
                    }

                    .product_num {
                        display: flex;
                        height: 86px;
                        align-items: center;

                        >div {
                            text-align: center;
                            border: #999 1px solid;

                            button {
                                background: white;
                                width: 38px;
                                box-sizing: content-box;
                                line-height: 38px;
                                float: left;

                                &:hover {
                                    background-color: #d1d1d1;
                                }
                            }

                            input {
                                outline-style: none;
                                text-align: center;
                                line-height: 38px;
                                width: 72px;
                                float: left;
                            }
                        }

                    }

                    .product_delect {
                        button {
                            background-color: white;
                            font-weight: 100;
                            box-sizing: content-box;
                            text-align: center;
                            width: 30px;
                            height: 30px;
                            border-radius: 15px;
                            font-size: 20px;

                            &:hover {
                                color: white;
                                background-color: red;
                            }
                        }
                    }
                }

            }
            .total{
                margin-top: 20px;
                background-color: white;
                color: #424242;
                position: sticky;
                bottom: 0;
                .total_left{
                    height: 50px;
                    text-align: center;
                    a{
                        display: inline-block;
                        width: 120px;
                        text-align: center;
                        text-decoration: none;
                        line-height: 50px;
                        color: #424242;
                        font-size: 14px; 
                    }
                    p{
                        padding-left: 30px;
                        display: inline-block;
                        border-left: #424242 1px solid;
                        >span{
                            display: inline-block;
                            color: red;
                            font-size: 14px;
                            width: 30px;
                        }
                    }
                    float: left;
                }
                .total_right{
                    float: right;
                    p{
                        display:inline-block;
                        font-size: 16px;
                        color: #ff6700;
                        margin-right: 40px;
                        span{
                            display: inline-block;
                            font-size: 20px;
                            margin-left: 5px;
                            font-weight: 700;
                        }
                    }
                    button{
                        display: inline-block;
                        box-sizing: content-box;
                        line-height: 50px;
                        text-align: center;
                        font-size: 20px;
                        color: #999;
                        width: 200px;
                        background-color: #d1d1d1;
                        &:hover{
                            background-color:#ff6700;
                            color: white;
                        }
                    }
                }
            }
        }
    }
}